import http from '../utils/http'
//司机
//添加司机
export function addDriver(params) {
	return http.post('addDriver', params)
}
//编辑司机
export function editDriver(params) {
	return http.post('editDriver', params)
}
// 注销
export function destroyDriver(params) {
	return http.post('destroyDriver', params)
}

//司机列表
export function driverList(params) {
	return http.get('driverList', params)
}
export function driverData() {
	return http.get('driverData')
}

//司机信息详情
export function detailDriver(params) {
	return http.get('detailDriver', params)
}
//设置司机状态
export function setDriverStatus(params) {
	return http.post('setDriverStatus', params)
}
//司机密码重置
export function repwdDriver(params) {
	return http.post('repwdDriver', params)
}

//司机合同
//上传
export function uploadContract(params) {
	return http.post('uploadContract', params)
}
//列表
export function contractList(params) {
	return http.get('contractList', params)
}
//删除
export function deleteContract(params) {
	return http.get('deleteContract', params)
}